home *** CD-ROM | disk | FTP | other *** search
- // ECHO.CPP - Implementation file for your Internet Server
- // Echo Extension
-
- class CEchoExtension : public CHttpServer
- {
- public:
- CEchoExtension();
- ~CEchoExtension();
-
- BOOL GetExtensionVersion(HSE_VERSION_INFO* pVer);
-
- // TODO: Add handlers for your commands here.
- // For example:
- void Default(CHttpServerContext* pCtxt);
- //Lab 10.2, ex 2 - Implementing Echo
- void EchoRequest(CHttpServerContext* pCtxt, LPCTSTR pstrOption);
-
- //Lab 10.2, ex 2 - Implementing Echo
- //Implementation section
- protected:
- void EchoBody(CHttpServerContext* pCtxt);
- void EchoHead(CHttpServerContext* pCtxt);
- void BadSyntax(CHttpServerContext* pCtxt);
- void EchoHelp(CHttpServerContext* pCtxt);
-
- DECLARE_PARSE_MAP()
- };
-
-